<!DOCTYPE html>

<html>

	<head>

		<meta charset="utf-8" />

		<title>你办囍事 我送囍酒</title>

		<meta name="viewport" content="width=640,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="/Public/game/css/reset.css" />
		<link rel="stylesheet" type="text/css" href="<?php echo  C('HTTP_HOST_URL');?>/Public/game/css/Ranking.css" />

	</head>

	<body>
		<include file="./Application/Home/View/Page/wechatsdk.html" />
		<div class="web">

			<!--******************头***********************-->

			<div class="top">

				<span>喜宴排行榜</span>

			</div>

			<!--******************中间***********************-->

			<div class="mid">

				<ul>

					<foreach name="data" item="item" key="key">

						<li>

							<if condition="$key lt 3 ">

								<img src="/Public/game/images/Ranking_mid<?php echo $key+1;?>.png" />

							</if>

							<span><?php echo $key+1;?></span>

							<div><img src="{$item.image}" alt="" /></div>

							<span>{$item.name}</span>

							<h4>位宾客

							<p>{$item.people}</p>

						</h4>

						</li>

					</foreach>

					<!--

					<li>

						<span>2</span>

						<img src="/Public/game/images/Ranking_mid2.png"/>

						<div><img src="/Public/game/images/ranking_head.jpg" alt="" /></div>

						<span>XXXX</span>

						<h4>位宾客

							<p>30</p>

						</h4>

					</li>

					<li>

						<span>3</span>

						<img src="/Public/game/images/Ranking_mid3.png"/>

						<div><img src="/Public/game/images/ranking_head.jpg" alt="" /></div>

						<span>XXXX</span>

						<h4>位宾客

							<p>30</p>

						</h4>

					</li>

					<li>

						<span>4</span>

						<div><img src="/Public/game/images/ranking_head.jpg" alt="" /></div>

						<span>XXXX</span>

						<h4>位宾客

							<p>30</p>

						</h4>

					</li>

                    -->

				</ul>

			</div>

			<!--******************底部***********************-->

			<div class="bot">

				<button></button>

			</div>

		</div>

		<script src="<?php echo  C('HTTP_HOST_URL');?>/Public/game/js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>

		<script type="text/javascript">
			$(".bot button").on("click", function() {

				location.href = "<php>echo \Org\Net\Fun::url('home/page/index');</php>";

			})
		</script>

	</body>

</html>